|
Server : LiteSpeed System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64 User : idnco5810 ( 1093) PHP Version : 8.2.29 Disable Function : NONE Directory : /proc/self/root/usr/share/doc/util-linux/ |
Upload File : |
Periodic fstrim for SSD disks
-----------------------------
fstrim(8) is used on a mounted filesystem to discard blocks which are not in
use by the filesystem. This is useful in particular for solid-state drives
(SSDs).
A systemd service and matching timer is available to periodically perform
fstrim on relevant filesystems, but is *not* enabled by default. To enable it
according to the default weekly cadence, just do the following as root:
systemctl enable fstrim.timer